package com.datang.pet.service;/*
 * @auther 顶风少年
 * @mail dfsn19970313@foxmail.com
 * @date 2019-06-11 22:24
 * @notify
 * @version 1.0
 */

import com.datang.pet.pojo.UserInfo;
import com.datang.pet.vo.ReadUserInfo;
import com.datang.pet.vo.UpdateUserInfoAndAddUserAddressRequest;

public interface UserService {
    public UserInfo getUserIfNullAddUser(String id, String code) throws Exception;

    public UserInfo UpdateUserInfoAndAddUserAddress(UpdateUserInfoAndAddUserAddressRequest updateUserInfoAndAddUserAddressRequest) throws Exception;

    public boolean userIsExist(String id)throws Exception;

    public ReadUserInfo readUserInfo(String userId) throws Exception;
}
